

using System;
using Abp.Application.Services.Dto;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using JYJ.AiYard.StationManagement.TbYardIssuedCards;

namespace JYJ.AiYard.StationManagement.TbYardIssuedCards.Dtos
{
    public class TbYardIssuedCardListDto : EntityDto<long>
    {

        
		/// <summary>
		/// 场所编号
		/// </summary>
		[Required(ErrorMessage="场所编号不能为空")]
		public long Station_ID { get; set; }

        public long? Issued_Id { get; set; }  //默认Id

        public bool? Delay { get; set; }   //延期操作   发行0   延期1


        public string User_No { get; set; }  //车主编号 
        public string User_Name { get; set; }  //车主姓名
		public string Phone { get; set; }//车主电话
		public string Depart_Name { get; set; }//车主部门
		public string ParkingPos { get; set; }//车位位置
		public int? OP_User_Id { get; set; }  //操作员编号  登录用户
        /// <summary>
        /// 用户编号
        /// </summary>
        public long? User_Id { get; set; }

		/// <summary>
		/// 卡片类型
		/// </summary>
		public int? CardTypeId { get; set; }

		/// <summary>
		/// 卡号
		/// </summary>
		[Required(ErrorMessage="卡号不能为空")]
		public string CardNo { get; set; }

		/// <summary>
		/// 状态
		/// </summary>
		[Required(ErrorMessage="状态不能为空")]
		public int Status { get; set; }

		/// <summary>
		/// 车牌颜色
		/// </summary>
		[Required(ErrorMessage="车牌颜色不能为空")]
		public int PlateColor { get; set; }

		/// <summary>
		/// 记录类型
		/// </summary>
		public string RecordType { get; set; }

		/// <summary>
		/// 车牌号码
		/// </summary>
		public string PlateNo { get; set; }

        public string CarPlace { get; set; }  //车位

        public string Card_IOPower { get; set; }  //有效机号  以,隔开

        /// <summary>
        /// 有效起日
        /// </summary>
        public DateTime? BeginTime { get; set; }

		/// <summary>
		/// 有效止日
		/// </summary>
		public DateTime? EndTime { get; set; }

		/// <summary>
		/// 车辆颜色
		/// </summary>
		public string CarColor { get; set; }

		/// <summary>
		/// 车辆型号
		/// </summary>
		public string CarType { get; set; }

		/// <summary>
		/// 车辆照片
		/// </summary>
		public string CarImg { get; set; }

		/// <summary>
		/// 行驶证号码
		/// </summary>
		public string IDNO { get; set; }

		/// <summary>
		/// 备注
		/// </summary>
		public string Memo { get; set; }

		/// <summary>
		/// 押金
		/// </summary>
		public decimal? Deposit { get; set; }

		/// <summary>
		/// 账户余额
		/// </summary>
		public decimal? Account { get; set; }

        public string OBJ_Name { get; set; }

        public string OBJ_DESC { get; set; }

        public int TenantId { get; set; }
        public DateTime? PayTime { get; set; }
        public string PayType { get; set; }
        public string PayStatus { get; set; }
        public decimal PurMoney { get; set; }
        public decimal PayMoney { get; set; }
        public decimal YHMoney { get; set; }
		public string DownStatus { get; set; }
		public string BAccount { get; set; }
	}

	public class TbYardIssuedCardListBAccountDto : EntityDto<long>
	{


		/// <summary>
		/// 场所编号
		/// </summary>
		[Required(ErrorMessage = "场所编号不能为空")]
		public long Station_ID { get; set; }

		public long? Issued_Id { get; set; }  //默认Id

		public bool? Delay { get; set; }   //延期操作   发行0   延期1


		public string User_No { get; set; }  //车主编号 
		public string User_Name { get; set; }  //车主姓名
		public string Phone { get; set; }//车主电话
		public string Depart_Name { get; set; }//车主部门
		public string ParkingPos { get; set; }//车位位置
		public int? OP_User_Id { get; set; }  //操作员编号  登录用户
		/// <summary>
		/// 用户编号
		/// </summary>
		public long? User_Id { get; set; }

		/// <summary>
		/// 卡片类型
		/// </summary>
		public int? CardTypeId { get; set; }

		/// <summary>
		/// 卡号
		/// </summary>
		[Required(ErrorMessage = "卡号不能为空")]
		public string CardNo { get; set; }

		/// <summary>
		/// 状态
		/// </summary>
		[Required(ErrorMessage = "状态不能为空")]
		public int Status { get; set; }

		/// <summary>
		/// 车牌颜色
		/// </summary>
		[Required(ErrorMessage = "车牌颜色不能为空")]
		public int PlateColor { get; set; }

		/// <summary>
		/// 记录类型
		/// </summary>
		public string RecordType { get; set; }

		/// <summary>
		/// 车牌号码
		/// </summary>
		public string PlateNo { get; set; }

		public string CarPlace { get; set; }  //车位

		public string Card_IOPower { get; set; }  //有效机号  以,隔开

		/// <summary>
		/// 有效起日
		/// </summary>
		public DateTime? BeginTime { get; set; }

		/// <summary>
		/// 有效止日
		/// </summary>
		public DateTime? EndTime { get; set; }

		/// <summary>
		/// 车辆颜色
		/// </summary>
		public string CarColor { get; set; }

		/// <summary>
		/// 车辆型号
		/// </summary>
		public string CarType { get; set; }

		/// <summary>
		/// 车辆照片
		/// </summary>
		public string CarImg { get; set; }

		/// <summary>
		/// 行驶证号码
		/// </summary>
		public string IDNO { get; set; }

		/// <summary>
		/// 备注
		/// </summary>
		public string Memo { get; set; }

		/// <summary>
		/// 押金
		/// </summary>
		public decimal? Deposit { get; set; }

		/// <summary>
		/// 账户余额
		/// </summary>
		public decimal? Account { get; set; }

		public string OBJ_Name { get; set; }

		public string OBJ_DESC { get; set; }

		public int TenantId { get; set; }
		public DateTime? PayTime { get; set; }
		public string PayType { get; set; }
		public string PayStatus { get; set; }
		public decimal PurMoney { get; set; }
		public decimal PayMoney { get; set; }
		public decimal YHMoney { get; set; }
		public string DownStatus { get; set; }
		public bool? BAccount { get; set; }

	}
	public class tbQFilterIssued
	{
		public string filterText { get; set; }
		public long? StationId { get; set; }
		public bool onlyShowBAccount { get; set; }
	}
}